package com.wx.fresh.platform.controller;

import com.wx.fresh.common.util.CommonResult;
import com.wx.fresh.platform.vo.PlaformDetailVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("platform/product")
@Api(tags = "商品详情页编辑")
public class PlaformDetailController {


    @ApiOperation(value = "查询所有商品")
    @GetMapping("/findGoodsAll")
    public CommonResult findGoodsAll(PlaformDetailVo plaformDetailVo) {
        return null;
    }

    @ApiOperation(value = "删除商品")
    @PostMapping("/delete")
    public CommonResult goodsDelete(PlaformDetailVo plaformDetailVo) {
        return null;

    }

    @ApiOperation(value = "修改商品")
    @PostMapping("/update")
    public CommonResult goodsUpdate(PlaformDetailVo plaformDetailVo) {
        return null;

    }

    @ApiOperation(value = "增加商品")
    @PostMapping("/add")
    public CommonResult goodsAdd(PlaformDetailVo plaformDetailVo) {
        return null;

    }
}
